package com.tedu.crmpx.notice.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class NoticeQuery {
    @ApiModelProperty(value = "公告id")
    private Long id;
    @ApiModelProperty(value = "发布主题")
    private String releaseTitle;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date releaseTime;
    @ApiModelProperty(value = "发布内容")
    private String releaseContent;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户名")
    private Long username;
}
